﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SASInstaller
{
    public partial class LoadForm : Form
    {
        Timer tmr = new Timer();
        public LoadForm()
        {
            InitializeComponent();
            tmr.Interval = 1000;
        }

        private void LoadForm_Load(object sender, EventArgs e)
        {
            tmr.Tick += new EventHandler(tmr_Tick);
            tmr.Start();
        }

        void tmr_Tick(object sender, EventArgs e)
        {
            switch (label1.Text)
            {
                case "请稍等...":
                    label1.Text = "请稍等";
                    break;
                case "请稍等":
                    label1.Text = "请稍等.";
                    break;
                case "请稍等.":
                    label1.Text = "请稍等..";
                    break;
                case "请稍等..":
                    label1.Text = "请稍等...";
                    break;
                default:
                    break;
            }
        }
    }
}
